﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace Landpy.CruiseControlNet.FacadeInterface.ConfigurationModule
{
    public class XslFile : IPrimaryKey
    {
        [Browsable(false)]
        [XmlIgnore]
        public Guid Id { get; private set; }

        [Category("Basic")]
        [Description("Xsl files that will be used to fill up the message body. This may contain variables, see below. " +
                     "\r\nxsl\\header.xsl" +
                     "\r\nxsl\\compile.xsl" +
                     "\r\nxsl\\unittests.xsl" +
                     "\r\nxsl\\modifications.xsl" +
                     "\r\nxsl\\compile-msbuild.xsl")]
        [XmlText]
        public string Text { get; set; }

        public XslFile()
        {
            this.Id = Guid.NewGuid();
        }
    }
}